package com.fc.authentication.modules.oauth.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fc.authentication.common.dto.AbstractDto;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;


/**
 * Created by Sunny on 2018/6/21.
 */
@JsonSerialize
@Getter
@Setter
public class AuthRequest extends AbstractDto
{
    @NotBlank(message = "机构编号不能为空")
    private String orgCode;

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;

    @NotBlank(message = "平台信息不能为空")
    private String projectCode;

}
